<template>
  <CrudTable :columns="columns" :api="api" />
</template>
<script setup>
import CrudTable from '@/components/CrudTable.vue'
import * as api from '@/api/announcement'
const columns = [
  { prop: 'id', label: '公告ID' },
  { prop: 'title', label: '标题' },
  { prop: 'content', label: '内容' },
  { prop: 'publishTime', label: '发布时间' }
]
</script>